﻿using Blog190311.Models;
using Blog190311.Models.DAL;
using Blog190311.Models.DBModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Blog190311.Controllers
{
    public class AboutController : Controller
    {
        // GET: About
        public ActionResult Index()
        {
            UserService userService = new UserService();
            User user = userService.GetUserInfo("admin");
            return View(user);
        }
    }
}